﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DraftMonthPlanModify.aspx.cs"
    Inherits="Month_DraftMonthPlanModify" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>月草稿计划修改</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <script src="../Js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        
        function department(str) {
            var MonthPlanId = document.getElementById("MonthPlanId");
            window.open('../WebCommon/DepartmentSlave.aspx?SID=' + str + '&PlanType=2&PlanId=' + WeekPlanId.value, '', 'width=700,height=580,top=80, left=250');
        }
           
    </script>
    <script type="text/javascript" language="javascript">
        function userinfo(str) {
            window.open('../WebCommon/UserInfo.aspx?SID=' + str, '', 'width=700,height=580,top=150, left=300');
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="True">
        </asp:ScriptManager>
        <input id="MonthPlanId" runat="server" type="hidden" />
        <table border="0" cellpadding="0" cellspacing="0" width="970px">
            <tr>
                <td>
                    <table border="0" cellpadding="0" cellspacing="1" style="background-color: #d0d0ce"
                        width="970px">
                        <tr style="height: 50px; background-color: #ffffff">
                            <td class="PlanModifyTableHeader" style="width: 0px">
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 30px">
                                计划编号
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 130px" valign="middle">
                                计划名称
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 130px" valign="middle">
                                实施步骤
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 75px" valign="middle">
                                完成时间
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 53px" valign="middle">
                                责任部门
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 80px" valign="middle">
                                责任人
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 80px" valign="middle">
                                配合部门
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 110px" valign="middle">
                                配合部门责任
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 90px" valign="middle">
                                评估人
                            </td>
                            <td align="center" class="PlanModifyTableHeader" style="width: 90px" valign="middle">
                                备注
                            </td>
                            <td class="PlanModifyTableHeader" style="width: 35px">
                                操作
                            </td>
                        </tr>
                        <tr style="height: 50px; background-color: #ffffff">
                            <td style="width: 0px">
                            </td>
                            <td align="center" style="width: 30px" valign="middle">
                                <input id="txtQuarterPlanSortId" runat="server" style="width: 23px" type="text" />
                            </td>
                            <td align="center" style="width: 130px" valign="middle">
                                <asp:TextBox ID="txtWorkItem" runat="server" Height="40px" SkinID="textboxMultiLineSkin"
                                    TextMode="MultiLine" Width="130px"></asp:TextBox>
                            </td>
                            <td align="center" style="width: 130px" valign="middle">
                                <asp:TextBox ID="txtPlanStep" runat="server" Height="40px" SkinID="textboxMultiLineSkin"
                                    TextMode="MultiLine" Width="130px"></asp:TextBox>
                            </td>
                            <td align="center" style="width: 75px" valign="middle">
                                <asp:TextBox ID="txtCompleteTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                                    SkinID="textboxSkin" Width="65px"></asp:TextBox><asp:CompareValidator ID="CompareValidator2"
                                        runat="server" ControlToValidate="txtCompleteTime" Display="Dynamic" ErrorMessage="日期类型不正确"
                                        Operator="DataTypeCheck" Type="Date" Width="0px"></asp:CompareValidator>
                            </td>
                            <td align="center" style="width: 53px" valign="middle">
                                <asp:TextBox ID="txtMasterDepartment" runat="server" Enabled="False" SkinID="textboxSkin"
                                    Width="50px"></asp:TextBox>
                            </td>
                            <td align="center" style="width: 80px" valign="middle">
                                <input id="txtMasterPeople" runat="server" style="width: 50px" type="text" /><a href="#"
                                    onclick="javascript:userinfo('txtMasterPeople');"><img alt="" border="0"
                                        src="../images/addpages.jpg" /></a>
                            </td>
                            <td align="center" style="width: 80px" valign="middle">
                                <input id="txtSlaveDepartment" runat="server" style="width: 50px" type="text" /><a
                                    href="#" onclick="javascript:department('txtSlaveDepartment');"><img alt=""
                                        border="0" src="../images/addpages.jpg" /></a>
                            </td>
                            <td align="center" style="width: 110px" valign="middle">
                                <asp:TextBox ID="txtSlaveDepartmentDuty" runat="server" Height="40px" SkinID="textboxMultiLineSkin"
                                    TextMode="MultiLine" Width="100px"></asp:TextBox>
                            </td>
                            <td align="center" style="width: 90px" valign="middle">
                                <input id="txtEvaluatePeople" runat="server" style="width: 50px" type="text" /><a
                                    href="#" onclick="javascript:userinfo('txtEvaluatePeople');"><img alt="" border="0"
                                        src="../images/addpages.jpg" /></a>
                            </td>
                            <td align="center" style="width: 90px" valign="middle">
                                <asp:TextBox ID="txtRemark" runat="server" Height="40px" SkinID="textboxMultiLineSkin"
                                    TextMode="MultiLine" Width="79px"></asp:TextBox>
                            </td>
                            <td align="center" style="width: 35px" valign="middle">
                                <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" SkinID="buttonSkin"
                                    Text="修改" Width="34px" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
    <p>
        <input id="HEvaluatePeople" type="hidden" runat="server" />
    </p>
</body>
</html>
